package model

import "time"

type CarP struct {
	Id      int64     `json:"id"`
	CarId   string    `json:"car_id"`
	PId     int64     `json:"p_id"`
	InTime  time.Time `json:"in_time"`
	Status  int64     `json:"status"`
	OutTime time.Time `json:"out_time"`
	UId     int64     `json:"u_id"`
}

func (cp CarP) TableName() string {
	return "car_p"
}
